var mongoose = require('./db')
const { Schema } = require('mongoose');

var TaskPushSchema = mongoose.Schema({
    openId: String,     //任务发布者关联ID
    taskId: Schema.Types.ObjectId,     //任务关联ID
    pushTime: String    //开始任务时间
})

var TaskPush = mongoose.model('TaskPush', TaskPushSchema, 'TaskPush')

module.exports = TaskPush